﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace Blog.Core.DTO.ViewModel.User
{
	public class DepartmentInfoDTO
	{
		/// <summary>
		/// 部门编号
		/// </summary>
		public int Id { get; set; }
		/// <summary>
		/// 部门父级编号
		/// </summary>
		public int Pid { get; set; }
		/// <summary>
		/// 部门名称
		/// </summary>
		public string Name { get; set; }
		/// <summary>
		/// 下级
		/// </summary>
		public List<DepartmentInfoDTO> children { get; set; }
	}
}
